Automattic\Jetpack\Dashboard_Customizations\Masterbar D

Total Complexity 126
Dependencies 13
Dependents 0
Total lines 1,480
Lines of code 1,023
Logical lines of code 287
Comment lines 287
Methods 26
Properties 13

Methods 26

Method Rating Maintainability Complexity Lines of code
add_my_sites_submenu()
D
13
33 484
add_me_submenu()
A
31 5 156
__construct()
A
48 13 28
init()
A
45 11 42
get_jetpack_locale()
A
57 8 17
install_locale()
S
58 7 15
add_styles_and_scripts()
S
46 5 42
get_locale()
S
58 6 15
build_wp_admin_interface_bar()
S
53 4 25
add_write_button()
S
53 4 22
build_wpcom_masterbar()
S
59 4 15
maybe_logout_user_from_wpcom()
S
62 4 11
add_my_home_submenu_item()
S
58 3 16
replace_core_masterbar()
S
62 3 12
add_notifications()
S
54 2 23
wpcom_adminbar_add_secondary_groups()
S
55 1 27
remove_core_styles()
S
74 2 5
clear_core_masterbar()
S
74 2 5
wpcom_static_url()
S
68 2 7
replace_language_dropdown()
S
60 1 15
add_reader_submenu()
S
62 1 13
add_wpcom_profile_link()
S
62 1 12
create_menu_item_pair()
S
67 1 7
create_menu_item_anchor()
S
77 1 3
admin_body_class()
S
80 1 3
hide_language_dropdown()
S
80 1 3